Emulating Primality with Multiset Representations of Natural Numbers
نویسنده
چکیده
Factorization results in multisets of primes and this mapping can be turned into a bijection between multisets of natural numbers and natural numbers. At the same time, simpler and more efficient bijections exist that share some interesting properties with the bijection derived from factorization. This paper describes mechanisms to emulate properties of prime numbers through isomorphisms connecting them to computationally simpler representations involving bijections from natural numbers to multisets of natural numbers. As a result, interesting automorphisms of N and emulations of the rad, Möbius and Mertens functions emerge in the world of our much simpler multiset representations. The paper is organized as a self-contained literate Haskell program. The code extracted from the paper is available as a standalone program at http://logic.cse.unt.edu/tarau/research/2011/mprimes.hs.
منابع مشابه
On Factorization as Bijection to Finite Sequences
We describe mechanisms to emulate multiplicative properties of prime numbers by connecting them to computationally simpler representations involving bijections from natural numbers to sequences and multisets of natural numbers. Through a generic framework, we model interesting properties of a canonical representation of factorization and its simpler equivalents. Among their shared properties, w...
متن کاملPRIMALITY TESTING TECHNIQUES AND THE IMPORTANCE OF PRIME NUMBERS IN SECURITY PROTOCOLS Research Assistant
This study presents primality testing by mostly emphasizing on probabilistic primality tests. It is proposed an algorithm for the generation and testing of primes, and explained Carmichael numbers. The importance of prime numbers in encryption is stated and experimental results are given. KeywordsPrime Numbers, Carmichael Numbers, Primality Tests, Prime Generation, Security Protocols, Factoriza...
متن کاملFormal and Efficient Primality Proofs by Use of Computer Algebra Oracles
The problem of showing whether a positive number is prime or composite is historically recognized to be an important and useful problem in arithmetic. Since Euclid’s times, the interest in prime numbers has only been growing. For today’s applications, primality testing is central to public key cryptography and for this reason is still heavily investigated in number theory (Ribenboim, 1996). Alt...
متن کاملFast Primality Proving on Cullen Numbers
We present a unconditional deterministic primality proving algorithm for Cullen numbers. The expected running time and the worst case running time of the algorithm are Õ(logN) bit operations and Õ(logN) bit operations, respectively.
متن کاملREDUNDANCY OF MULTISET TOPOLOGICAL SPACES
In this paper, we show the redundancies of multiset topological spaces. It is proved that $(P^star(U),sqsubseteq)$ and $(Ds(varphi(U)),subseteq)$ are isomorphic. It follows that multiset topological spaces are superfluous and unnecessary in the theoretical view point.
متن کامل